<template>
	<view class="contents">
		<view class="content" v-for="(item,index) of 5" :key="index">
			<image src="../punlic/image/banner1.jpg" mode="aspectFill"></image>
			<view class="content_detalis">
				<view class="content_top">
					<text>无量天尊</text>
					<text class="amount">3445豆</text>
				</view>
				<view class="content_center">
					<text>捕捉战灵，附体作战，一位即将在未来只手遮天的'超深渊’正在发育。</text>
				</view>
				<view class="content_bottom">
					<view class="browse">
						东方玄幻 · 109万字
					</view>
					<view class="btn">立即阅读</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script lang="ts" setup>
</script>

<style lang="less">
	@radius: 10rpx;

	.content {
		width: 700rpx;
		height: 215rpx;
		border-radius: @radius;
		background: #fff;
		display: flex;
		padding: 20rpx;
		margin-top: 20rpx;

		image {
			width: 130rpx;
			height: 172rpx;
			border-radius: @radius;
			margin-right: 20rpx;
		}

		.content_detalis {
			display: flex;
			flex-direction: column;

			.content_top {
				display: flex;
				justify-content: space-between;
				font-size: 30rpx;
				font-weight: 400;

				.amount {
					color: #E5353F;
					font-weight: 600;
				}
			}

			.content_center {
				opacity: 0.5;
				font-size: 24rpx;
				margin-top: 10rpx;
			}

			.content_bottom {
				display: flex;
				justify-content: space-between;
				align-items: center;

				.browse {
					opacity: 0.5;
					font-size: 24rpx;
					margin-top: 20rpx;
				}

				.btn {
					color: #fff;
					height: 50rpx;
					border-radius: 12rpx;
					font-size: 24rpx;
					display: flex;
					justify-content: center;
					align-items: center;
					width: 165rpx;
					background: #E5353F;
				}
			}
		}
	}
</style>